package edu.guet.server.service;

import edu.guet.server.mapper.UHomeorkMapper;
import edu.guet.server.model.UHomework;
import edu.guet.server.model.UnitHomework;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UHomeworkService {

    @Autowired
    UHomeorkMapper uHomeorkMapper;
    public List<UHomework> findhmk(Integer oldUnitId) {
        return uHomeorkMapper.findhmk(oldUnitId);
    }

}
